﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Template_Method
{
    public class AliPay : BasePay
    {
        protected override bool Paying()
        {
            //throw new NotImplementedException();
            Console.WriteLine("提交支付宝支付参数...");
            Console.WriteLine("正在使用支付宝支付....");
            return true;
        }
        protected override void ComputeInteger()
        {
            base.ComputeInteger();
            Console.WriteLine("用支付宝支付额外可以获得2点积分..");
        }
    }
}
